home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / guitar-geek.swf / scripts / MyPreloader__cc663.as < prev    next >
Encoding:
Text File  |  2011-10-17  |  783 b   |  33 lines

  1. package
  2. {
  3.    import flash.utils.ByteArray;
  4.    import mx.core.MovieClipLoaderAsset;
  5.    
  6.    [Embed(source="/_assets/assets.swf", symbol="MyPreloader__cc663")]
  7.    public class MyPreloader__cc663 extends MovieClipLoaderAsset
  8.    {
  9.       
  10.       private static var bytes:ByteArray = null;
  11.        
  12.       
  13.       public var dataClass:Class;
  14.       
  15.       public function MyPreloader__cc663()
  16.       {
  17.          dataClass = MyPreloader__cc663_dataClass;
  18.          super();
  19.          initialWidth = 11000 / 20;
  20.          initialHeight = 8000 / 20;
  21.       }
  22.       
  23.       override public function get movieClipData() : ByteArray
  24.       {
  25.          if(bytes == null)
  26.          {
  27.             bytes = ByteArray(new dataClass());
  28.          }
  29.          return bytes;
  30.       }
  31.    }
  32. }
  33.